package com.ygqh.baby.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ygqh.baby.model.wdt.WdtOrderDetialResData;

public interface WdtOrderDetailMapper {

	int deleteByPrimaryKey(Long id);

	int insert(WdtOrderDetialResData record);

	int insertSelective(WdtOrderDetialResData record);

	WdtOrderDetialResData selectByPrimaryKey(Long id);
	
	List<WdtOrderDetialResData> selectByTradeNo(String tradeNo);

	int updateByPrimaryKeySelective(WdtOrderDetialResData record);

	int updateByPrimaryKey(WdtOrderDetialResData record);

	int saveWdtOrderDetailBatch(@Param("detailList") List<WdtOrderDetialResData> detailList);

	List<WdtOrderDetialResData> findWdtOrderDetail(@Param("tradeNo") String tradeNo);

	int deleteByTradeNO(@Param("tradeNoList")List<String> tradeNoList);
}